package com.bee.gateway.common.constants;

/**
 * @author Damin.yang
 * @date 2019/07/29 11:26
 */
public class GatewayRedisConst {

    /**
     * 路由缓存前缀
     */
    public static final String ROUTES_PREFIX = "redis_key::gateway_routes::";

    /**
     * 路由发布订阅频道
     */
    public static final String ROUTES_CHANNEL = "redis_channel::gateway_routes";

    /**
     * 忽略鉴权配置前缀
     */
    public static final String GATEWAY_IGNORE_AUTH_PREFIX = "redis_key::gateway_ignore_auth::";

    /**
     * 忽略鉴权配置发布订阅频道
     */
    public static final String GATEWAY_IGNORE_AUTH_CHANNEL = "redis_channel::gateway_ignore_auth";
}
